
const path = require('path')
function resolve (dir) {
  return path.join(__dirname, '..', dir)
}
module.exports = {
  'web':{
    'entry':'./src/web/main.js',
    'alias':{
      'vue$': 'vue/dist/vue.esm.js',
      '@': resolve('src/web'),
    },
    'host':'localhost',
    'port':8089,
    'index':'index.html',
    'template':'src/web/index.html',
    'build_index':'../dist/web/index.html',
    'assetsRoot':'../dist/web',
    'assetsSubDirectory':'static',
    'assetsPublicPath': '../src/web/',
    'build_assetsSubDirectory':'static',
    'build_assetsPublicPath': './web',
  },
  'web_app':{
    'entry':'./src/web_app/main.js',
    'alias':{
      'vue$': 'vue/dist/vue.esm.js',
      '@': resolve('src/web_app'),
    },
    'host':'localhost',
    'port':8081,
    'index':'index.html',
    'template':'src/web_app/index.html',
    'build_index':'../dist/web_app/index.html',
    'assetsRoot':'../dist/web_app',
    'assetsSubDirectory':'static',
    'assetsPublicPath': '../src/web_app/',
    'build_assetsSubDirectory':'static',
    'build_assetsPublicPath': './web_app',
  },
}
